//
//  KqPhotoAlert.h
//  kq_flutter_widgets
//
//  Created by wtb on 2023/4/12.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN


@class KqPhotoAlert;

@protocol KqPhotoAlertDelegate <NSObject>
@optional
- (void)photoAlert:(KqPhotoAlert *__nullable)photoAlert images:(NSArray <UIImage *> *__nullable)images;

@end

@interface KqPhotoAlert : NSObject

+ (KqPhotoAlert *)sharedInstance;

/// 相册
/// @param target 代理target
-(void)handleSelectLibraryWithTarget:(id)target maxCount:(int)count;

/// 相机
/// @param count 最多选择图片数量
-(void)handleSelectCameraWithTarget:(id)target;
@end

NS_ASSUME_NONNULL_END
